﻿@model Helena.Areas.Vendedores.Models.VendedorView
@using Telerik.Web.Mvc.UI
@{
    ViewBag.Title = "Inicio Sesion";
}

<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>

    <form id="form_user" action="Home/Validate" class="form" method="post">    
    <fieldset>
        <legend>Login</legend>
         <div class="editor-label">
            @Html.LabelFor(model => model.Usuario)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Usuario)
            @Html.ValidationMessageFor(model => model.Usuario)
        </div>
        <div class="editor-label">
            @Html.LabelFor(model => model.Contrasena)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Contrasena)
            @Html.ValidationMessageFor(model => model.Contrasena)
        </div>
        <p>
            <input type="submit" value="Validate"/>
        </p>
    </fieldset>
    </form>


<script type="text/javascript">
            $("#form_producto").submit(
                function (event) {
</script>
    
@*    @{
    ViewBag.Title = "Home Page";
}

<h2>@ViewBag.Message</h2>
<p>
    To learn more about ASP.NET MVC visit <a href="http://asp.net/mvc" title="ASP.NET MVC Website">http://asp.net/mvc</a>.
</p>

<p>
    To learn more about working with the Telerik Extensions for ASP.NET MVC, you can visit the folowing resources:
</p>
<ul>
    <li><a href="http://demos.telerik.com/aspnet-mvc/">online demos</a></li>
    <li><a href="http://www.telerik.com/help/aspnet-mvc/introduction.html">online documentation</a></li>
    <li><a href="http://www.telerik.com/community/forums/aspnet-mvc.aspx">community forums</a></li>
    <li><a href="http://tv.telerik.com/products/aspnet-mvc">videos on Telerik TV</a></li>
</ul>*@

